import Vue from 'vue'
import Router from 'vue-router'

import artTemp from '../views/right/articleList'
import parPageTemp from '../views/right/parPage/parPage'

Vue.use(Router)

export default new Router({
  mode: "history",
  routes: [{
      path: '/',
      redirect: '/article'
    },
    {
      path: '/article',
      name: 'article',
      component: artTemp
    },
    {
      path: '/parPage/:id',
      name:'parPage',
      component: parPageTemp
    }
  ]
})
